{
  "associatedLayout": "Test Room",
  "lastChangeTimeStamp": 0,
  "name": "BaseAct",
  "events": [
    {
      "type": "BuiltinCommonInstructions::Standard",
      "conditions": [
        {
          "type": {
            "value": "DepartScene"
          },
          "parameters": [
            ""
          ]
        }
      ],
      "actions": [
        {
          "type": {
            "value": "ModVarGlobal"
          },
          "parameters": [
            "ActMin",
            "=",
            "0"
          ]
        },
        {
          "type": {
            "value": "ModVarGlobal"
          },
          "parameters": [
            "ActSec",
            "=",
            "0"
          ]
        },
        {
          "type": {
            "value": "ModVarGlobal"
          },
          "parameters": [
            "ActSec2",
            "=",
            "0"
          ]
        },
        {
          "type": {
            "value": "ModVarGlobal"
          },
          "parameters": [
            "ActRings",
            "=",
            "0"
          ]
        },
        {
          "type": {
            "value": "ResetTimer"
          },
          "parameters": [
            "",
            "\"TimerSec2\""
          ]
        },
        {
          "type": {
            "value": "ResetTimer"
          },
          "parameters": [
            "",
            "\"TimerAttack\""
          ]
        },
        {
          "type": {
            "value": "Cache"
          },
          "parameters": [
            "SpawnPoint"
          ]
        }
      ]
    },
    {
      "type": "BuiltinCommonInstructions::Standard",
      "conditions": [
        {
          "type": {
            "value": "BuiltinCommonInstructions::Always"
          },
          "parameters": [
            ""
          ]
        }
      ],
      "actions": [
        {
          "type": {
            "value": "TextObject::String"
          },
          "parameters": [
            "TimeMinutes",
            "=",
            "ToString(GlobalVariable(ActMin))"
          ]
        },
        {
          "type": {
            "value": "TextObject::String"
          },
          "parameters": [
            "TimeSeconds",
            "=",
            "ToString(GlobalVariable(ActSec))"
          ]
        },
        {
          "type": {
            "value": "TextObject::String"
          },
          "parameters": [
            "TimeSeconds2",
            "=",
            "ToString(GlobalVariable(ActSec2))"
          ]
        },
        {
          "type": {
            "value": "CentreCamera"
          },
          "parameters": [
            "",
            "Player",
            "",
            "",
            ""
          ]
        },
        {
          "type": {
            "value": "TextObject::String"
          },
          "parameters": [
            "RingCount",
            "=",
            "ToString(GlobalVariable(ActRings))"
          ]
        }
      ]
    },
    {
      "colorB": 228,
      "colorG": 176,
      "colorR": 74,
      "creationTime": 0,
      "folded": true,
      "name": "Таймеры для времени, таймеры для времени повсюду",
      "source": "",
      "type": "BuiltinCommonInstructions::Group",
      "events": [
        {
          "type": "BuiltinCommonInstructions::Comment",
          "color": {
            "b": 109,
            "g": 230,
            "r": 255,
            "textB": 0,
            "textG": 0,
            "textR": 0
          },
          "comment": "Хуйня для имитации моего умения в таймеры",
          "comment2": ""
        },
        {
          "type": "BuiltinCommonInstructions::Standard",
          "conditions": [
            {
              "type": {
                "value": "VarGlobal"
              },
              "parameters": [
                "ActSec2",
                "=",
                "10"
              ]
            }
          ],
          "actions": [
            {
              "type": {
                "value": "ModVarGlobal"
              },
              "parameters": [
                "ActSec",
                "+",
                "1"
              ]
            },
            {
              "type": {
                "value": "ModVarGlobal"
              },
              "parameters": [
                "ActSec2",
                "=",
                "0"
              ]
            }
          ]
        },
        {
          "type": "BuiltinCommonInstructions::Standard",
          "conditions": [
            {
              "type": {
                "value": "VarGlobal"
              },
              "parameters": [
                "ActSec",
                "=",
                "6"
              ]
            }
          ],
          "actions": [
            {
              "type": {
                "value": "ModVarGlobal"
              },
              "parameters": [
                "ActMin",
                "+",
                "1"
              ]
            },
            {
              "type": {
                "value": "ModVarGlobal"
              },
              "parameters": [
                "ActSec",
                "=",
                "0"
              ]
            }
          ]
        },
        {
          "type": "BuiltinCommonInstructions::Comment",
          "color": {
            "b": 109,
            "g": 230,
            "r": 255,
            "textB": 0,
            "textG": 0,
            "textR": 0
          },
          "comment": "Временный проигрыш",
          "comment2": ""
        },
        {
          "type": "BuiltinCommonInstructions::Standard",
          "conditions": [
            {
              "type": {
                "value": "VarGlobal"
              },
              "parameters": [
                "ActMin",
                "=",
                "10"
              ]
            }
          ],
          "actions": [
            {
              "type": {
                "value": "Scene"
              },
              "parameters": [
                "",
                "\"Test Room\"",
                ""
              ]
            }
          ]
        },
        {
          "type": "BuiltinCommonInstructions::Comment",
          "color": {
            "b": 109,
            "g": 230,
            "r": 255,
            "textB": 0,
            "textG": 0,
            "textR": 0
          },
          "comment": "Каждую ~~пятницу я в говно~~ секунду я сбрасываю таймер",
          "comment2": ""
        },
        {
          "type": "BuiltinCommonInstructions::Standard",
          "conditions": [
            {
              "type": {
                "value": "CompareTimer"
              },
              "parameters": [
                "",
                "\"TimerSec2\"",
                ">=",
                "1"
              ]
            }
          ],
          "actions": [
            {
              "type": {
                "value": "ResetTimer"
              },
              "parameters": [
                "",
                "\"TimerSec2\""
              ]
            },
            {
              "type": {
                "value": "ModVarGlobal"
              },
              "parameters": [
                "ActSec2",
                "+",
                "1"
              ]
            }
          ]
        }
      ],
      "parameters": []
    },
    {
      "type": "BuiltinCommonInstructions::Standard",
      "conditions": [
        {
          "type": {
            "value": "KeyPressed"
          },
          "parameters": [
            "",
            "r"
          ]
        },
        {
          "type": {
            "value": "BuiltinCommonInstructions::Once"
          },
          "parameters": []
        }
      ],
      "actions": [
        {
          "type": {
            "value": "Scene"
          },
          "parameters": [
            "",
            "CurrentSceneName()",
            ""
          ]
        }
      ]
    },
    {
      "colorB": 228,
      "colorG": 176,
      "colorR": 74,
      "creationTime": 0,
      "name": "Debug",
      "source": "",
      "type": "BuiltinCommonInstructions::Group",
      "events": [
        {
          "type": "BuiltinCommonInstructions::Standard",
          "conditions": [
            {
              "type": {
                "value": "KeyPressed"
              },
              "parameters": [
                "",
                "d"
              ]
            }
          ],
          "actions": [],
          "events": [
            {
              "type": "BuiltinCommonInstructions::Standard",
              "conditions": [
                {
                  "type": {
                    "value": "GlobalVariableAsBoolean"
                  },
                  "parameters": [
                    "ActDebug",
                    "True"
                  ]
                }
              ],
              "actions": []
            },
            {
              "type": "BuiltinCommonInstructions::Standard",
              "conditions": [
                {
                  "type": {
                    "value": "GlobalVariableAsBoolean"
                  },
                  "parameters": [
                    "ActDebug",
                    "False"
                  ]
                }
              ],
              "actions": []
            }
          ]
        }
      ],
      "parameters": []
    }
  ]
}